To Vote Before Decide: A Logless One-Phase Commit Protocol for Highly-Available Datastores
نویسندگان
چکیده
Highly-available datastores are widely deployed for online applications. However, many online applications are not contented with the simple data access interface currently provided by highly-available datastores. Distributed transaction support is demanded by applications such as largescale online payment used by Alipay or Paypal. Current solutions to distributed transaction can spend more than half of the whole transaction processing time in distributed commit. An efficient atomic commit protocol is highly desirable. This paper presents the HACommit protocol, a logless one-phase commit protocol for highly-available systems. HACommit has transaction participants vote for a commit before the client decides to commit or abort the transaction; in comparison, the state-of-the-art practice for distributed commit is to have the client decide before participants vote. The change enables the removal of both the participant logging and the coordinator logging steps in the distributed commit process; it also makes possible that, after the client initiates the transaction commit, the transaction data is visible to other transactions within one communication roundtrip time (i.e., one phase). In the evaluation with extensive experiments, HACommit outperforms recent atomic commit solutions for highly-available datastores under different workloads. In the best case, HACommit can commit in one fifth of the time 2PC does. Keywords-atomic commit, high availability, transaction, 2PC, consensus
منابع مشابه
Pre-Vote Negotiations in Binary Aggregation
We study voting games on possibly interconnected issues, where voters might hold a principled opinion about a subset of the issues at stake while willing to strike deals on the remaining ones, and can influence one another before casting their ballots in order to obtain an individually more favourable outcome. We analyse voters’ rational behaviour in a two-phase game, allowing players to underg...
متن کاملReducing the Latency of Non-Blocking Commitment using Optimism and Replication
Atomic commitment protocols are used to ensure the atomicity of atomic transactions. The best known and most widely used atomic commitment protocol is two phase commit (2PC). The main idea behind 2PC is to perform two rounds of voting under the guidance of a site acting as coordinator. The coordinator asks first for votes on whether to commit (yes vote) or abort (no vote) the transaction. The p...
متن کاملExtending the Intelligent Adaptive Participant’s Presumption Protocol to the Multi-level Distributed Transaction Execution Model
The “intelligent adaptive participant’s presumption protocol” (iAP 3 ) is an integrated atomic commit protocol. It interoperates implicit yes-vote, which is a one-phase commit protocol, besides presumed abort and presumed commit, the most commonly pronounced two-phase commit protocol variants. The aim of this combination is to achieve the performance advantages of one-phase commit protocols, on...
متن کاملEquilibrium Refinement through Negotiation in Binary Voting
We study voting games on binary issues, where voters hold an objective over the outcome of the collective decision and are allowed, before the vote takes place, to negotiate their voting strategy with the other participants. We analyse the voters’ rational behaviour in the resulting two-phase game, showing under what conditions undesirable equilibria can be removed and desirable ones sustained ...
متن کاملOCP: a distributed real time commit protocol
Most of the existing commit protocols try to improve the system performance by allowing a committing cohort to lend its data to an executing cohort, thus reducing data inaccessibility. However, these protocols block the borrower when it tries to send WORKDONE/PREPARED message (Qin & Liu 2003, Haritsa, Ramamritham & Gupta 2000, Gupta, Haritsa, Ramamritham & Seshadri 1996, Gupta, Haritsa, & Ramam...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1701.02408 شماره
صفحات -
تاریخ انتشار 2017